import Taro from '@tarojs/taro'

export const useNavBar = () => {
  const info = Taro.getMenuButtonBoundingClientRect()
  return {
    navTop: info.top,
    navHeight: info.height,
    navWidth: info.left,
  }
}
